package priv.lirenhe.dissertation.dao.mysql;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import priv.lirenhe.dissertation.domain.mysql.WebPage;
import priv.lirenhe.dissertation.domain.mysql.WebPageExample;
import priv.lirenhe.dissertation.domain.mysql.WebPageWithBLOBs;

public interface WebPageMapper {
    long countByExample(WebPageExample example);

    int deleteByExample(WebPageExample example);

    int deleteByPrimaryKey(Long webPageId);

    int insert(WebPageWithBLOBs record);

    int insertSelective(WebPageWithBLOBs record);

    List<WebPageWithBLOBs> selectByExampleWithBLOBs(WebPageExample example);

    List<WebPage> selectByExample(WebPageExample example);

    WebPageWithBLOBs selectByPrimaryKey(Long webPageId);

    int updateByExampleSelective(@Param("record") WebPageWithBLOBs record, @Param("example") WebPageExample example);

    int updateByExampleWithBLOBs(@Param("record") WebPageWithBLOBs record, @Param("example") WebPageExample example);

    int updateByExample(@Param("record") WebPage record, @Param("example") WebPageExample example);

    int updateByPrimaryKeySelective(WebPageWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WebPageWithBLOBs record);

    int updateByPrimaryKey(WebPage record);
}